<div class="clearfix">
	<div class="clearfix text-center col-xs-12">
		<a href="#" class="js-back-to-sidebar pull-left btn btn-xs btn-link">
			<i class="icon-caret-left"></i>
		</a>
		<span class="col-xs-10 navbar-btn"><strong><%- i18next.t("Copy board") %></strong></span>
	</div>
	<div class="col-xs-12 divider"></div>
	<div class="col-xs-12">
		<form class="normal" name="BoardCopyForm" id="BoardCopyForm" method="POST">
			<fieldset>
				<div class="form-group required">
					<label for="inputCopyBoardName"><%- i18next.t("Name") %></label>
					<input type="text" autocomplete="off" id="inputCopyBoardName" name="name" class="form-control input-sm" required>
				</div>
				<input name="board_visibility" id="inputBoardCopyVisibility" type="hidden" value="<%-board.attributes.board_visibility %>">
				<div id="js-board-add-organization"></div>
				<div class="clearfix js-open-dropdown js-board-add-dropdown dropdown js-visibility-chooser-copy-board-dropdown">
					<span class="js-visibility-container">
			<span class="pull-left">
				<span class="pull-left navbar-btn"><%- i18next.t("This board will be") %> </span>
					</span>
					<div class="btn-group pull-right">
						<button type="button" class="btn btn-default btn-sm js-change-visibility" id="js-change-visible-content"><% if(board.attributes.board_visibility == 0) { %>
					<i class="icon-lock"></i><%- i18next.t("Private") %>
				<% } else if(board.attributes.board_visibility == 1) { %>
					<i class="icon-group"></i><%- i18next.t("Organization") %>
				<% } else if(board.attributes.board_visibility == 2) { %>
					<i class="icon-circle"></i><%- i18next.t("Public") %>
				<% } %></button>
						<button type="button" class="btn btn-default btn-sm dropdown-toggle js-change-visibility" data-toggle="dropdown" aria-expanded="false">
					<span><i class="icon-caret-down"></i></span>
					<span class="sr-only"><%- i18next.t("Toggle Dropdown") %></span>
				</button>
					</div>
					</span>
					<ul class="dropdown-menu arrow arrow-right">
						<li class="text-center">
							<strong><%- i18next.t("Change Visibility") %></strong>
							<span href="#" class="js-close-sidebar-popover pull-right col-xs-2"><i class="icon-remove cur"></i></span>
						</li>
						<li class="col-xs-12 divider js-visibility-chooser-copy-board"></li>
					</ul>
				</div>
				<div class="form-group">
					<div class="checkbox">
						<input id="inputKeepUsers" type="checkbox" value="0" name="keepUsers" class="hide">
						<label for="inputKeepUsers"><%- i18next.t("Keep Users") %></label>
					</div>
				</div>
				<div class="form-group">
					<div class="checkbox">
						<input id="inputKeepCards" type="checkbox" checked="checked" value="1" name="keepCards" class="js-keep_card_trigger hide">
						<label for="inputKeepCards"><%- i18next.t("Keep Cards") %></label>
					</div>
				</div>
				<div class="form-group col-lg-offset-1">
					<div class="checkbox">
						<input id="inputkeepComments" type="checkbox" checked="checked" value="1" name="keepComments" class="js-keep_card_enable hide">
						<label for="inputkeepComments"><%- i18next.t("Keep Comments") %></label>
					</div>
				</div>
				<div class="form-group col-lg-offset-1">
					<div class="checkbox">
						<input id="inputKeepLabels" type="checkbox" checked="checked" value="1" name="keepLabels" class="js-keep_card_enable hide">
						<label for="inputKeepLabels"><%- i18next.t("Keep Labels") %></label>
					</div>
				</div>
				<div class="form-group col-lg-offset-1">
					<div class="checkbox">
						<input id="inputKeepAttachments" type="checkbox" checked="checked" value="1" name="keepAttachments" class="js-keep_card_enable hide">
						<label for="inputKeepAttachments"><%- i18next.t("Keep Attachments") %></label>
					</div>
				</div>
			
				
				<div class="form-group col-lg-offset-1">
					<div class="checkbox">
						<input id="inputKeepChecklist" type="checkbox" checked="checked"  value="1" name="keepChecklists" class="js-keep_card_enable hide">
						<label for="inputKeepChecklist"><%- i18next.t("Keep Checklists") %></label>
					</div>
				</div>
				<% if (!_.isUndefined(APPS) && APPS !== null && !_.isUndefined(APPS.enabled_apps) && APPS.enabled_apps !== null && $.inArray('r_custom_fields', APPS.enabled_apps) !== -1) { %>
				<div class="form-group col-lg-offset-1">
					<div class="checkbox">
						<input id="inputKeepCustomFields" type="checkbox"checked="checked"  value="1" name="keepCustomFields" class="js-keep_card_enable hide">
						<label for="inputKeepCustomFields"><%- i18next.t("Keep Custom Fields") %></label>
					</div>
				</div>
				<% } %>
				
				<div class="submit">
					<input type="submit" value="<%- i18next.t('Create') %>" id="submitBoardCopy" class="btn btn-primary">
				</div>
			</fieldset>
		</form>
	</div>
</div>